package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.Currency;
import com.ebring.shareEducation.utils.RspMsg;

import java.util.List;

/**
 * Created by Cola
 * Date  2018-12-07 17:32
 */
public interface CurrencyService {

    /**
     * 增加虚拟币
     *
     * @param currency
     * @return
     */
    RspMsg addMoney(Currency currency);
    /**
     * 查询所有虚拟币
     *
     * @return
     */
    RspMsg<Currency> selectTask();

    /**
     * 根据虚拟币id修改虚拟币
     */
    RspMsg<Currency> updateTask(Currency currency);

    /**
     * 通过ID删除虚拟币
     */
    RspMsg<Currency> deleteById(String currencyId);


    /**
     * 模糊查询
     */

    RspMsg<List<Currency>> select(String cname, String time,String times);







}
